import { log } from "@juzi/wechaty";
import { SocketTypeEnum } from "../websocket/socketTypeEnum.js";
const mLogout = (user, sendMessageToAll) => {
  log.info("StarterBot", "%s login", user);
  sendMessageToAll({
    Type: SocketTypeEnum.Console,
    Data: `StarterBot: ${user} loginout`,
  });
};

export default mLogout;
